from ftllibs.items.itemtools import ItemIconData

class Item_3101():
    def __init__(self):
        self.parent=False
        self.Name="Stinger"
        self.IconFileName="3101.png"
        self.ID=3101
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1042','1042']
        self.Builds_Into=['3115']
        self.Tags=['attack_speed','cooldown_reduction']
        self.Costs = 250
        self.Total_Costs = 1090
        self.Description="+40% Attack Speed  UNIQUE Passive: +10% Cooldown Reduction"
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Speed_Percentage += 40.0
        # above is %
        self.parent.Cooldown_Reduction += 10.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


